package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.model.BaseModel;
import one.stand.model.ShopcartModel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * @author Administrator
 */
@Data
@ApiModel(value = "购物车信息")
public class ShopcartResponse implements Serializable {

    @ApiModelProperty("购物车id")
    private Integer shopCartId;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("规格id")
    private Integer specId;

    @ApiModelProperty("数量")
    private Integer num;

    @ApiModelProperty("商品规格库存")
    private Integer specNum;

    @ApiModelProperty("单价")
    private Integer price;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("公司id")
    private Integer companyId;

    @ApiModelProperty("规格名称")
    private String specName;

    @ApiModelProperty("规格属性名")
    private String specAttribute;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("商品图片")
    private String photoUrl;
    @ApiModelProperty("公司logo")
    private String companyLogo;
    @ApiModelProperty("名片id")
    private Integer cardId;

    private List<ShopcartModel> shopcartModelList;
}